html,
body {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    background-color: #f6f6f6;
    font-size: 16px;
}

#input-info,
#gen-idcard {
    padding-top: 30px;
    padding-bottom: 30px;
}

#gen-idcard {
    display: none;
}

.container {
    width: 90%;
    max-width: 350px;
    margin: auto;
}

.title {
    font-family: PingFang SC;
    font-weight: 500;
    color: #000000;
    font-size: 22px;
    margin-bottom: 14px;
    text-align: center;
}

.banner {
    font-size: 16px;
    font-weight: 600;
    color: red;
    margin-bottom: 10px;
    text-align: center;
}

.personal-info-form {
    width: 100%;
}

.info-edit {
    padding: 8px;
    border: 1px solid #bbb;
    border-radius: 5px;
}

.section {
    margin-bottom: 8px;
}

.section-title {
    margin-bottom: 5px;
}

.section>input,
.section>picker,
.section>textarea {
    background-color: #fff;
    padding: 3px 5px;
    border: 1px solid #888;
}

.id-number-stat {
    float: right;
    font-size: 10px;
    color: #666;
}

#idNumber,
#name,
#nation,
#address {
    width: 95%;
}

#birthYear {
    width: 50px;
}

#birthMonth,
#birthDay {
    width: 35px;
}

.button-group {
    margin-top: 10px;
}

.button-group>button {
    width: 100%;
    height: 32px;
}

.submit-btn {
    background-color: #30ae40;
    border-color: #2da23c;
    color: #fff;
    margin-bottom: 8px;
}

.reset-btn {
    background-color: rgb(252, 136, 0);
    color: #fff;
    border-color: #e17900;
}

.tip {
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: 600;
    color: #888888;
    margin-top: 3px;
}

/* gen-idcard styles */
.refill-btn {
    background-color: #30ae40;
    border-color: #2da23c;
    color: #fff;
    margin-top: 10px;
    margin-bottom: 8px;
    width: 100%;
    height: 32px;
}

.id-display {
    width: 350px;
    position: relative;
    transform: rotate(90deg) translateX(120px) scale(1.3);
}

.id-template {
    display: block;
    margin: auto;
    width: 350px;
}

.id-mask>div {
    position: absolute;
    font-size: 11px;
    font-weight: bold;
    font-family: sans-serif;
}

.name {
    top: 27px;
    left: 73px;
    font-size: 13px !important;
    letter-spacing: 5px;
}

.gender {
    top: 56px;
    left: 73px;
}

.nation {
    top: 56px;
    left: 144px;
}

.birth-year {
    top: 84px;
    left: 73px;
    font-size: 12px !important;
}

.birth-month {
    top: 84px;
    left: 124px;
    font-size: 12px !important;
}

.birth-day {
    top: 84px;
    left: 157px;
    font-size: 12px !important;
}

.address {
    top: 112px;
    left: 73px;
    width: 140px;
    letter-spacing: 1.5px;
    line-height: 1.5;
}

.number {
    top: 181px;
    left: 128px;
    font-size: 15px !important;
    letter-spacing: 2px;
}

.footnote {
    margin-top: 238px;
    text-align: center;
    padding: 8px;
}

.declare {
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: 600;
    color: #888888;
}

.decalre-label {
    color: red;
}